package com.example.mybank.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "close")
public class CloseConfig {

    // 是否关闭初筛
    public boolean screen;

    // 是否关闭地址隐藏
    public boolean url;

    // 是否关闭脚本防刷
    public boolean check_script;


    // 是否关闭秒杀
    public boolean seckill;




}
